package com.atguigu.crowd.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "ali.pay")
public class PayProperties {
	
	private String appId;				//用户ID
	private String merchantPrivateKey;	//用户私钥
	private String alipayPublicKey;		//支付宝公钥
	private String notifyUrl;			//支付宝服务器主动通知商户服务器里指定的页面http/https路径
	private String returnUrl;			//支付成功返回的地址
	private String signType;			//用户签名
	private String charset;				//编码格式
	private String gatewayUrl;			//网关地址

}
